package org.example.rental.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName rate
 */
@TableName(value ="rate")
@Data
public class Rate implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Integer goodsId;

    /**
     * 
     */
    private Integer userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 联系方式
     */
    private String phone;

    /**
     * 评价时间
     */
    private Date rateTime;

    /**
     * 评分
     */
    private Double score;

    /**
     * 内容
     */
    private String content;


    private Integer orderId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}